#include"SList.h"

void Test()
{
	SLTNode* plist = NULL;
	SLTPushBack(&plist, 1);
	SLTPushBack(&plist, 2);
	SLTPushBack(&plist, 3);
	SLTPushFront(&plist, 4);

	//SLTPrint(plist);
	//SLTPopBack(&plist);
	//SLTPrint(plist);
	//SLTPopFront(&plist);
	//SLTPrint(plist);
	//SLTPopBack(&plist);
	//SLTPrint(plist);
	//SLTNode* find = SLTFind(plist, 4);
	//SLTInsertAfter(find, 88);
	//SLTPrint(plist);
	////if (find)
	////{
	////	cout << 1;
	////}
	////else
	////	cout << 0;
	////SLTInsert(&plist, find , 88);
	////SLTPrint(plist);
	//SLTErase(&plist, find);
	//SLTPrint(plist);
	//SLTEraseAfter(find);
	//SLTPrint(plist);
	//SLTDestory(&plist);
	//SLTPrint(plist);

}

int main()
{

	Test();
	return 0;
}